package com.stars.system.reim.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 报销统计记录对象 stars_reim_stat
 * 
 * @author shuaibizhe
 * @date 2023-01-19
 */
public class ReimDailyStat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 统计id */
    private String statId;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statDate;

    /** 统计信息 */
    @Excel(name = "统计信息")
    private String statInfo;

    public void setStatId(String statId) 
    {
        this.statId = statId;
    }

    public String getStatId() 
    {
        return statId;
    }
    public void setStatDate(Date statDate) 
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }
    public void setStatInfo(String statInfo) 
    {
        this.statInfo = statInfo;
    }

    public String getStatInfo() 
    {
        return statInfo;
    }

    public ReimDailyStat(String statId, Date statDate, String statInfo) {
        this.statId = statId;
        this.statDate = statDate;
        this.statInfo = statInfo;
    }

    public ReimDailyStat() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statId", getStatId())
            .append("statDate", getStatDate())
            .append("statInfo", getStatInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
